package com.example.front.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 设备
 */
public class Equipment {
  private Long id;
  private Long tenantId;
  private String name;
  private String version;
  private String vendor;
  private String manufacturingCoding;
  private String manufacturingTime;
  private String enableTime;
  private String maintainGroup;
  private String temporaryCoding;
  private String currentCoding;
  private String remark;
  private Long ok;
  private String isExist;
  private String isAutomation;
  private String isPivotal;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getTenantId() {
    return tenantId;
  }

  public void setTenantId(Long tenantId) {
    this.tenantId = tenantId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public String getVendor() {
    return vendor;
  }

  public void setVendor(String vendor) {
    this.vendor = vendor;
  }

  public String getManufacturingCoding() {
    return manufacturingCoding;
  }

  public void setManufacturingCoding(String manufacturingCoding) {
    this.manufacturingCoding = manufacturingCoding;
  }

  public String getManufacturingTime() {
    return manufacturingTime;
  }

  public void setManufacturingTime(String manufacturingTime) {
    if(manufacturingTime!=""){
      this.manufacturingTime = manufacturingTime;
    }

  }

  public String getEnableTime() {
    return enableTime;
  }

  public void setEnableTime(String enableTime) {
    if(enableTime!=""){
      this.enableTime = enableTime;
    }
  }

  public String getMaintainGroup() {
    return maintainGroup;
  }

  public void setMaintainGroup(String maintainGroup) {
    this.maintainGroup = maintainGroup;
  }

  public String getTemporaryCoding() {
    return temporaryCoding;
  }

  public void setTemporaryCoding(String temporaryCoding) {
    this.temporaryCoding = temporaryCoding;
  }

  public String getCurrentCoding() {
    return currentCoding;
  }

  public void setCurrentCoding(String currentCoding) {
    this.currentCoding = currentCoding;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public Long getOk() {
    return ok;
  }

  public void setOk(Long ok) {
    this.ok = ok;
  }

  public String getIsExist() {
    return isExist;
  }

  public void setIsExist(String isExist) {
    this.isExist = isExist;
  }

  public String getIsAutomation() {
    return isAutomation;
  }

  public void setIsAutomation(String isAutomation) {
    this.isAutomation = isAutomation;
  }

  public String getIsPivotal() {
    return isPivotal;
  }

  public void setIsPivotal(String isPivotal) {
    this.isPivotal = isPivotal;
  }
}
